﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ISocialMediaProvider.cs" company="Catel development team">
//   Copyright (c) 2008 - 2012 Catel development team. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace Catwitter.Providers
{
    using System.Collections.Generic;
    using Models;

    /// <summary>
    /// Interface defining the contract for a social media provider.
    /// </summary>
    public interface ISocialMediaProvider
    {
        #region Properties
        /// <summary>
        /// Gets the name of the provider.
        /// </summary>
        /// <value>The name of the provider.</value>
        string Name { get; }
        #endregion

        #region Methods
        /// <summary>
        /// Gets the last 10 updates from the provider source.
        /// </summary>
        /// <returns><see cref="IEnumerable{ISocialMediaEntry}"/> containing all the updates.</returns>
        IEnumerable<ISocialMediaEntry> GetLast10Updates();
        #endregion
    }
}